// stdafx.cpp : source file that includes just the standard includes
//	KtUICommon.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"
#include <AFXDISP.H>

CLanManager		g_lanManager;
CUIManager		g_UIManager;


void	KTUI_Init(LPCTSTR szSkinName)
{
	USES_CONVERSION;
	g_lanManager.LoadConfig();
	CString strSkinDir = BASELIB::AfxGetAppPath() + _T("Skins\\");
	if(szSkinName && _tcslen(szSkinName) > 0)
	{
		strSkinDir += szSkinName;
		strSkinDir += _T("\\");
	}
	g_UIManager.SetSkinDir(strSkinDir);
	BCMenu::InitMenuColor();
}


